<?php
// constants declaration
define("COMPONENT_PATH", "components/com_bookman/");
define("ADMIN_COMPONENT_PATH", "administrator/");
define("COMPONENT_NAME", "com_bookman");
define("COMPONENT_PREFIX", "bookman_");

$max_images_per_unit = 9;
$notice = array();

// tool bar
$KToolBar = new KToolBar();

class Config {
	// general configuration
	public static $template = "default";
	
	// admin configurables
	const limiting_stay = 6;
	
	public static function table_prefix(){
		global $mosConfig_dbprefix;
		return $mosConfig_dbprefix.COMPONENT_PREFIX;
	}
}

$set_letter_config = array(
	"[BOOKING_REFERENCE]" => "Booking Reference",
	"[START_DATE]" => "Arrival Date",
	"[END_DATE]" => "Departure Date",
	"[TOTAL_PRICE]" => "Total Price",
	"[DISCOUNT]" => "Discount",
	"[ADULTS]" => "Number of Adults",
	"[CHILDREN]" => "Number of Children",
	"[NOTES]" => "Notes",
	"[UNIT_NAME]" => "Unit Name",
	"[CUSTOMER_NAME]" => "Customer Name",
	"[LOCAL_PHONE_NUMBER]" => "Local phone number of the unit",
	"[VILLA_PHONE_NUMBER]" => "Villa phone number of the unit",
	"[LOCAL_CONTACT_NAME]" => "Local contact name of the unit",
	"[LOCKBOX_CODE]" => "Lockbox Code for the unit",
	"[DRIVING_DIRECTION]" => "Driving Direction to the unit"
);
?>